#include <opencv2/opencv.hpp>
#include <opencv2/core/utils/logger.hpp>
#include "my_lib.h"


int add(int a, int b)
{
    return a + b;
}

void show(const char* image_path)
{
    printf("start showing\n");
    cv::Mat image = cv::imread(image_path);
    cv::resize(image, image, cv::Size(800, 600));
    cv::putText(image, "Hello OpenCV", cv::Point(100, 100), cv::FONT_HERSHEY_SIMPLEX, 1, cv::Scalar(0, 255, 0), 2);
    cv::imshow("image", image);
    cv::waitKey(0);
    cv::destroyAllWindows();
    printf("end showing\n");
}
